#pragma once
#include"INetMediator.h"

class UdpMediator:public INetMediator
{
public:

	UdpMediator();
	~UdpMediator();
	//打开网络
	bool OpenNet();
	//关闭网络
	void CloseNet();
	//发送数据
	bool SendData(long ISendIp,char* buf,int nLen);
	//处理数据
	void DealData(long ISendIp,char* buf,int nLen); 
};

